package org.jeecg.modules.workservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.workservice.entity.WorkOrderUser;
import org.jeecg.modules.workservice.entity.WorkService;
import org.jeecg.modules.workservice.vo.WorkOrderUserVo;
import org.springframework.stereotype.Service;


public interface IWorkOrderUserService extends IService<WorkOrderUser> {

    /**
     * 根据工单编号查找负责人
     * @param workOrderId
     * @return
     */
    WorkOrderUserVo findWorkOrderUserVo(String workOrderId);

    /**
     * 修改人员为负责人
     * @param workOrderId  工单编号
     * @param orderUserId 负责人编号
     * @return
     */
    int updWorkOrderUser(String workOrderId,String orderUserId);


}
